  var base64Str = "emhhbmdzYW46MTIzNDU2";  
  var buf = Buffer.from(base64Str, 'base64');
  var info = buf.toString('utf8').split(':');  
  console.log('user name: %s\npassword: %s', info[0], info[1]);
  